package com.s59.players.entity;


import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Players {
  private Long pid;
  private String pname;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date birthday;
  private Long height;
  private Long weight;
  private String position;
  private Long cid;

  private String cname;


}
